//
//  FoundTableViewCell.m
//  Koala_Fm
//
//  Created by dllo on 16/1/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "FoundTableViewCell.h"
#define W self.contentView.bounds.size.width/375
#define H self.contentView.bounds.size.height/667

@implementation FoundTableViewCell
- (void)dealloc
{
    [_smartImage release];
    [_hotImage release];
    [_celebrItyImage release];
    [_emotionalImage release];
    [_smartlable release];
    [_hotLable release];
    [_celebrityLable release];
    [_emotionalLable release];
    [_bageLable release];
    [_imageOne release];
    [_imageTow release];
    [_imageShree release];
    [_lableOne release];
    [_lableTow release];
    [_lableThree release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //smartImage
        self.smartImage = [[UIImageView alloc]init];
        _smartImage.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_smartImage];
        [_smartImage release];
        //hotImage
        self.hotImage = [[UIImageView alloc]init];
        _hotImage.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_hotImage];
        [_hotImage release];
        //celebrItyImage
        self.celebrItyImage = [[UIImageView alloc]init];
        _celebrItyImage.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_celebrItyImage];
        [_celebrItyImage release];
        //
        self.emotionalImage = [[UIImageView alloc]init];
        _emotionalImage.backgroundColor = [UIColor greenColor];
        [self.contentView addSubview:_emotionalImage];
        [_emotionalImage release];
        //
        self.smartlable = [[UILabel alloc]init];
        _smartlable.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_smartlable];
        [_smartImage release];
        //
        self.hotLable = [[UILabel alloc]init];
        _hotLable.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_hotLable];
        [_hotLable release];
        //
        self.celebrityLable = [[UILabel alloc]init];
        _celebrityLable.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_celebrityLable];
        [_celebrityLable release];
        //
        self.emotionalLable = [[UILabel alloc]init];
        _emotionalLable.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_emotionalLable];
        [_emotionalLable release];
        //
        self.bageLable =[[UILabel alloc]init];
        _bageLable.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_bageLable];
        [_bageLable release];
        //
        self.imageOne = [[UIImageView alloc]init];
        _imageOne.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_imageOne];
        [_imageOne release];
        //
        self.imageTow = [[UIImageView alloc]init];
        _imageTow.backgroundColor = [UIColor blueColor]
        ;
        [self.contentView addSubview:_imageTow];
        [_imageTow release];
        //
        self.imageShree = [[UIImageView alloc]init];
        _imageShree.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_imageShree];
        [_imageShree release];
        //
        self.lableOne = [[UILabel alloc]init];
        _lableOne.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_lableOne];
        [_lableOne release];
        //
        self.lableTow = [[UILabel alloc]init];
        _lableTow.backgroundColor = [UIColor greenColor];
        [self.contentView addSubview:_lableTow];
        [_lableOne release];
        //
        self.lableThree = [[UILabel alloc]init];
        _lableThree.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_lableThree];
        [_lableThree release];

    }
    return self;
}


- (void)layoutSubviews{
    [super layoutSubviews];
    _smartImage.frame = CGRectMake(10, 0, 115, 100);
    _lableOne.frame = CGRectMake(10, 105, 115, 50);
    _hotImage.frame = CGRectMake(130, 0,115 , 100);
    _hotLable.frame = CGRectMake(130, 105, 115, 50);
    _celebrItyImage.frame = CGRectMake(250, 0, 115, 100);
    _celebrityLable.frame = CGRectMake(250, 105,115 , 50);
    
    
}


    

    
    















- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
